package com.food.admin.exception.storeRegisterException;


import com.food.admin.exception.foodAdminException;
import com.food.admin.exception.productsTypeException.ProductsTypeExceptionCode;

public class StoreRegisterException extends foodAdminException {
    public StoreRegisterException(Integer code, String message) {
        super(code, message);
    }

    public StoreRegisterException(StoreRegisterExceptionCode storeRegisterExceptionCode){
        super(storeRegisterExceptionCode.getCode(),storeRegisterExceptionCode.getMessage());
    }
}
